home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / By the Book / Mac C Primer V2 / 6.1 - MyStarter / CMouse.h < prev    next >
Text File  |  1991-08-22  |  744b  |  22 lines

  1. #define _H_CMouse
  2.  
  3. #include "CMouseTask.h"
  4. #include <CPanorama.h>
  5.  
  6. struct CMouse : CMouseTask
  7. {
  8.     CPanorama    *thePanorama;
  9.     Rect        theLocation, theBounds;
  10.     
  11.     void        IMouse( int    strID, int objWidth, int objHeight,
  12.                         Point hitPt, Rect theLoc, CPanorama *theRama );
  13.     /*void        BeginTracking( Point *startPt );OLD*/
  14.     void        BeginTracking( struct LongPt *startPt );
  15.     /*void        KeepTracking( Point *currPt, Point *prevPt, Point *startPt );OLD*/
  16.     void        KeepTracking( struct LongPt *currPt, struct LongPt *prevPt,
  17.                                     struct LongPt *startPt );
  18.     /*void        EndTracking( Point *currPt, Point *prevPt, Point *startPt );OLD*/
  19.     void        EndTracking( struct LongPt  *currPt, struct LongPt  *prevPt,
  20.                                     struct LongPt  *startPt );
  21.     void        GetLocation(Rect*);
  22. };